import request from '@/util/request'

export const getAreaInformationAPI = () => {
  return request({
    url: '/api/areabaseinfo',
    method: 'POST',
    data: {"jsonrpc":"2.0","method":"call","id":1658737848554,"params":{"ids":[1,2,3,4,8,9]}}
  })
}

export const getAreaInformationIdAPI = (id: number) => {
  return request({
    url: `/api/areabaseinfo/${id}`,
    method: 'POST',
    data: {"jsonrpc":"2.0","method":"call","id":1658737848554,"params":{"ids":[1,2,3,4,8,9]}}
  })
}